package com.googlecode.yadic.resolvers;

import com.googlecode.totallylazy.Callable1;
import com.googlecode.yadic.ContainerException;

import java.lang.reflect.Type;

public class MissingResolver implements Callable1<Type, Object> {
    public Object call(Type type) throws Exception {
        throw new ContainerException(type.toString() + " not found in container");
    }
}
